package com.javaee.weixin.entity;

/**
 * 普通access_token
 * 
 */
public class AccessToken {

	private String accessToken;
	private long expiresIn;
	// 获取票据的时间戳
	private long timestamp = System.currentTimeMillis() / 1000;

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public long getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(long expiresIn) {
		this.expiresIn = expiresIn;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

}
